import { func } from "prop-types";
import React from "react";
import { withRouter } from "react-router-dom";
import './index.css'
function Alert(props) {
    return (
        <div className="alert">
            {props.children}
        </div>
    )
}
export default withRouter(Alert)